<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonDetail.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${key.title}</title>
<script>
function next(url){
	window.location.href = url;
}
</script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="window_head_outBg"><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="${ctx}/images/ico_Advance.gif" width="16" height="16" align="absmiddle"> <span class="window_head_intext">${key.title}</span></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td class="aux_header_line_2"></td>
  </tr>
  <tr>
    <td class="content"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="aux_outtable_color"><div style="height:340px;overflow:auto;">
		<table width="100%" border="0" cellpadding="0" cellspacing="1" class="aux_intable_color">

          <tr>
            <td colspan="4" class="aux_titletable">${key.standardTitle}</td>
            </tr>
          <tr>
            <td class="aux_intable_td1">${key.chargeItemName}：</td>
            <td class="aux_intable_td2">${chargeStandard.chargeItemName}</td>
            <td class="aux_intable_td1">${key.staName}：</td>
            <td class="aux_intable_td2">${chargeStandard.staName}</td>
          </tr>

		  <tr>
            <td colspan="4" class="aux_titletable">${key.usedset}</td>
          </tr>
          <tr>
            <td class="aux_intable_td1">${key.dosageType}：</td>
            <td class="aux_intable_td2">${chargeStandardVersion.dosageTypeDisplay} </td>
            <td  class="aux_intable_td1">${key.dynameter}：</td>
            <td class="aux_intable_td2">${chargeStandardVersion.dynameter}</td>
          </tr>
          <tr>
            <td class="aux_intable_td1">${key.quantitySelect}：</td>
            <td class="aux_intable_td2">
                <c:if test = "${chargeStandardVersion.quantitySelect == '1'}">
                          ${key.yes}
                 </c:if></td>
            <td  class="aux_intable_td1">${key.quantity}：</td>
            <td class="aux_intable_td2">${chargeStandardVersion.quantity}</td>
          </tr>
          <tr>
            <td  class="aux_intable_td1">&nbsp;</td>
            <td class="aux_intable_td2">
	            <c:if test = "${chargeStandardVersion.zeroSelect == '1'}">
	                ${key.zeroSelect}
	            </c:if>
            </td>
            <td  class="aux_intable_td1">&nbsp;</td>
            <td class="aux_intable_td2">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="4" class="aux_titletable">${key.usedefine}</td>
          </tr>
              <tr>
                <td width="19%" class="aux_intable_td1">${key.countmode}：</td>
                <td width="31%" class="aux_intable_td2">${chargeStandardVersion.countModeDisplay} </td>
                <td width="19%" class="aux_intable_td1">&nbsp;</td>
                <td width="31%" class="aux_intable_td2">&nbsp;</td>
              </tr>

               <c:if test ="${chargeStandardVersion.countMode == '001'}">
                <tr>
                  <td valign="top" class="aux_intable_td1">${key.price}： </td>
                  <td class="aux_intable_td2"> ${chargeStandardVersion.price}${key.yuan}</td>
                  <td class="aux_intable_td1">&nbsp;</td>
                  <td class="aux_intable_td2">&nbsp;</td>
                </tr>
              </c:if>
              <c:if test ="${chargeStandardVersion.countMode != '001'}">
               <c:forEach items="${sectionChargeSet}" var="section" varStatus="status">
					<tr>
		                <td valign="top" class="aux_intable_td1">
			                <c:if test = "${chargeItemType == '001'}">
			                	${arearange}${status.count}：
			                </c:if>
			                <c:if test = "${chargeItemType == '002'}">
			                	${usedrange}${status.count}：
			                </c:if>
		                </td>
		                <td class="aux_intable_td2">
		                    <c:if test = "${chargeItemType == '001'}">
		                		${section.startPoint}&lt;${key.area}≤${section.toPoint} ${key.square}
		                	</c:if>
		                	<c:if test = "${chargeItemType == '002'}">
		                		${section.startPoint}&lt;${key.dosage}≤${section.toPoint} ${key.cube}
		                	</c:if>
		                </td>
		                <c:if test="${chargeStandardVersion.countMode != '004'}">
		                <td class="aux_intable_td1">${key.price}：</td>
		                </c:if>
		                <c:if test="${chargeStandardVersion.countMode == '004'}">
		                <td class="aux_intable_td1">${key.money}：</td>
		                </c:if>
		                <td class="aux_intable_td2">${section.price} ${key.yuan}</td>
		             </tr>
			   </c:forEach>
			   </c:if>
            </tbody>
          <tr>
            <td colspan="4" class="aux_titletable">${key.latefee}</td>
            </tr>
          <tr>
            <td class="aux_intable_td1">${key.latefeeSelect}：</td>
            <td colspan="3" class="aux_intable_td2">
            <c:if test="${chargeStandardVersion.latefeeSelect == 0}">
	             	${key.no}
	             </c:if>
	             <c:if test="${chargeStandardVersion.latefeeSelect == 1}">
	             	${key.yes}
	             </c:if>
            </td>
          </tr>
           <c:if test="${chargeStandardVersion.latefeeSelect == 1}">
	        <tr>
	            <td class="aux_intable_td1">${key.cmode}：</td>
	            <td colspan="3" class="aux_intable_td2">${key.byday}：${chargeStandardVersion.rate}%</td>
      		</tr>
      	   </c:if>
        </table>
		</div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>&nbsp;</td>
        <td class="btn_between_space"></td>
        <td>&nbsp;</td>
        <td class="btn_between_space"></td>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32" onClick="windowClose();" onMouseOver="btn_change_over(3)" onMouseOut="btn_change_out(3)" onblur="btn_change(3)"><img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom">${key.close}</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>